package property.personal.property_mange.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName(value = "staff",resultMap = "getstaffs")
public class Staff implements Serializable {
    @TableId(type = IdType.AUTO)
    private String id;
    private String staffname;
    private String password;
    private int age;
    private Date entrytime;
    private String proid;

    @TableField(exist = false)
    private Propertyinfo propertyinfo;

    @TableField(exist = false)
    private String propertyname;
}
